Add 'notes' to struct waypoint for Ron.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 25 Oct 2002 13:59:51 +0000 (13:59 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 25 Oct 2002 13:59:51 +0000 (13:59 +0000)
gpsbabel/defs.h

index da0c4f2441cb286d474f8ae0bfbbe145db4cd515..f626ea393913ee9661ddfa35f1d19f8df48ff768 100644 (file)
@@ -109,8 +109,26 @@ typedef struct {
 typedef struct {
        queue Q;
        position position;
-       char *shortname;
+       /* shortname is a waypoint name as stored in receiver.  It should
+        * strive to be, well, short, and unique.   Enforcing length and
+        * character restrictions is the job of the output.   A typical
+        * minimum length for shortname is 6 characters for NMEA units,
+        * 8 for Magellan and 10 for Vista.   These are only guidelines.
+        */
+       char *shortname;         
+       /*
+        * description is typically a human readable description of the 
+        * waypoint.   It may be used as a comment field in some receivers.
+        * These are probably under 40 bytes, but that's only a guideline.
+        */
        char *description;
+       /*
+        * notes are relatively long - over 100 characters - prose associated
+        * with the above.   Unlike shortname and description, these are never
+        * used to compute anything else and are strictly "passed through".
+        * Few formats support this.
+        */
+       char *notes;
        char *url;
        char *url_link_text;
        const char *icon_descr;